/*************************************************************************
 *                                                                       *
 * This file is part of the FreeMAPs distribution.  For full copyright   *
 * information, see COPYRIGHT and COPYING.LESSER.                        *
 *                                                                       *
 * Author:           sqbang                                              *
 * Email:            sqbang@ustc.edu                                     *
 * Date:             2016.01.31                                          *
 *                                                                       *
 *************************************************************************/

//declaration header
#include "COMMON/enum/PlaneStructualType.h"

//COMMON headers
#include "COMMON/tbox/StringToEnum.h"

namespace FreeMAPs
{

namespace Utilities
{

template<>
void
init_string_to_enum(
    Bimap<std::string, PlaneStructualType>& se)
{
    se.clear();

    se.insert ("PLANE_STRESS", PlaneStructualType::PLANE_STRESS);
    se.insert ("PLANE_STRAIN", PlaneStructualType::PLANE_STRAIN);
    se.insert ("PLATE",        PlaneStructualType::PLATE);
    se.insert ("SHELL",        PlaneStructualType::SHELL);

    se.insert ("INVALID_VALUE", PlaneStructualType::INVALID_VALUE);
}

} //namespace Utilities

} //namespace FreeMAPs
